package com.cskaoyan.demo6.mapper;

import com.cskaoyan.demo6.bean.model.MarketGoods;
import com.cskaoyan.demo6.bean.model.MarketGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*@Description：
*@Author：BLUEBLANK
*@Date：2024/4/20  21:13
*/


    
public interface MarketGoodsMapper {
    long countByExample(MarketGoodsExample example);

    int deleteByExample(MarketGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketGoods record);

    int insertOrUpdate(MarketGoods record);

    int insertOrUpdateSelective(MarketGoods record);

    int insertSelective(MarketGoods record);

    List<MarketGoods> selectByExample(MarketGoodsExample example);

    MarketGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketGoods record, @Param("example") MarketGoodsExample example);

    int updateByExample(@Param("record") MarketGoods record, @Param("example") MarketGoodsExample example);

    int updateByPrimaryKeySelective(MarketGoods record);

    int updateByPrimaryKey(MarketGoods record);

    int updateBatch(List<MarketGoods> list);

    int updateBatchSelective(List<MarketGoods> list);

    int batchInsert(@Param("list") List<MarketGoods> list);
}